//
//  ZFBilViewController.m
//  HappyLoan
//
//  Created by zainishenbian on 2017/3/16.
//  Copyright © 2017年 zongqingxiangqian. All rights reserved.
//

#import "ZFBilViewController.h"
#import "ZFLoginViewController.h"
#import "ZFHeader.h"

@interface ZFBilViewController ()


@end

@implementation ZFBilViewController

//- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
//{
//    self = [super initWithNibName:NSStringFromClass([self.superclass class]) bundle:nibBundleOrNil];
//    return self;
//}
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    [MobClick beginLogPageView:@"bilView"];
    self.navigationController.navigationBarHidden = NO;
}
- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    [MobClick endLogPageView:@"bilView"];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"账单";
    //禁止侧滑
    self.navigationController.interactivePopGestureRecognizer.enabled = NO;

}
#pragma mark ———— button的点击事件
- (IBAction)click:(id)sender {
    
    ZFLoginViewController *loginVC = [ZFLoginConfig getLoginVC2];
    [self presentViewController:loginVC animated:YES completion:nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
